<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{Title} (CommParams) </title>
<link rel="stylesheet" href="../../css/mem_main.css?t={ctime}" type="text/css">
<script Language="JavaScript1.2" type="text/javascript" src="../../inc/checkdata_{intLang}.js?t={ctime}"></script>
<script Language="JavaScript1.2" type="text/javascript" src="../../inc/betlimit_{intLang}.js?t={ctime}"></script>
<script Language="JavaScript1.2" type="text/javascript" src="../../inc/commlimtlayer.js?t={ctime}"></script>
<script Language="JavaScript">
<!--
var ECRate;
function finalcheck(){
	with(document.LIDFrm){
		if(Check(document.LIDFrm)){
			if(isOverLimit(EventLimit, MaxEventLimit.value, BetLimit, MaxBetLimit.value, "{ParentID}"))return;
			if(confirm("{Add_alert4}")){
				submit();
			}else{
				return;
			}
		}
	}
}

function multifinalcheck(){
	if(confirm("{Add_alert4}")){
		document.beMemberFrm.submit();
	}else{
		return false;
	}
}

function backlist(){
	with(document.beMemberFrm){
		op.value = "List";
		submit();
	}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<!-- 檢驗資料用 //-->
<form name="CheckDataForm">
	<input type="hidden" name="required" value="int;EventLimit;{EventLimit}">
	<input type="hidden" name="required" value="int;BetLimit;{BetLimit}">
</form>
<!-- End //-->

<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Title} : {CommissionSet} -- {MemAccount}:<font color="#CC0000">{ShowAccount}</font> -- {MemName}:<font color="#CC0000">{ShowName}</font> 
      -- {AddDate}:{ShowAddDate} -- 
      <input type="button" value="{Add}" class="zabutton" onClick="location.href='index.php?op=Add'">
      <input type="button" value="{List}" class="zabutton" onClick="location.href='index.php?op=Lists'">
      <input type="button" value="{Search}" class="zabutton" onClick="location.href='index.php?op=Search'">
    </td>
  </tr>
</table>

<form name="SdFrm" action="index.php" method="GET">
<input type="hidden" name="op" value="CommParams">
<input type="hidden" name="Page" value="{Page}">
<input type="hidden" name="isLock" value="{isLock}">
<input type="hidden" name="ID" value="{intID}">
<select name="LID" onchange="document.SdFrm.submit();">
{ShowLID_Options}</select>
<select name="isQuick" onchange="document.SdFrm.submit();">
<option value="0" {isQuickSd0}>{CommonType}</option>
<option value="1" {isQuickSd1}>{QuickType}</option>
</select>
</form>

<form name="beMemberFrm" action="index.php" method="POST">
<input type="hidden" name="op" value="MultiCParamsUpdate">
<input type="hidden" name="Page" value="{Page}">
<input type="hidden" name="isLock" value="{isLock}">
<input type="hidden" name="ID" value="{intID}">
<input type="hidden" name="LID" value="{ShowLID}">
<!-- @ Content Start @ //-->
<div class="ctabdv"> 
  <table border="0" cellspacing="1" cellpadding="0" class="ctab">
    <tr class="ctiga"> 
      <td width="65"><b><!--{BallType}//-->&nbsp;</b></td>
<!-- @ BTTitle Start @ //--><td width="65">{BTTitle}</td><!-- @ BTTitle End @ //-->
    </tr>
    <tr class="crig">
      <td class="ctigaed"><font color="#FFFF00">{GLine1}</font></td>
<!-- @ GLine1 Start @ //--><td width="65">{GLineValue}</td><!-- @ GLine1 End @ //-->
    </tr>
    <tr class="crig">
      <td class="ctigaed"><font color="#FFFF00">{GLine2}</font></td>
<!-- @ GLine2 Start @ //--><td width="65">{GLineValue}</td><!-- @ GLine2 End @ //-->
    </tr>
    <tr class="crig">
      <td class="ctigaed"><font color="#FFFF00">{GLine3}</font></td>
<!-- @ GLine3 Start @ //--><td width="65">{GLineValue}</td><!-- @ GLine3 End @ //-->
    </tr>
<!-- @ SumEventLimit Fd1 Start @ //-->
    <tr class="crig"> 
      <td class="ctigaed">{SumEventLimit}</td>
<!-- @ SumEventLimit Start @ //--><td>{ShowSumELimit}</td><!-- @ SumEventLimit End @ //-->
    </tr>
<!-- @ SumEventLimit Fd1 End @ //-->
    <tr class="crig"> 
      <td class="ctigaed">{EventLimit}</td>
<!-- @ EventLimit Start @ //--><td>{ShowELimit}</td><!-- @ EventLimit End @ //-->
    </tr>
    <tr class="crig"> 
      <td class="ctigaed">{BetLimit}</td>
<!-- @ BetLimit Start @ //--><td>{ShowBLimit}</td><!-- @ BetLimit End @ //-->
    </tr>
    <tr class="ccen"> 
      <td class="ctigaed">&nbsp;</td>
<!-- @ Edit Start @ //--><td {ShowColspan}><a href="JavaScript:void(0)" onclick="{Onclick}">{Change}</a></td><!-- @ Edit End @ //-->
    </tr>
  </table>
</div><br />
<!-- @ Content End @ //-->
</form>

<!----------------------退水視窗---------------------------->
<div id="comm_window" style="display: none;position:absolute">
<form name="LIDFrm" action="index.php" method="Get">
<input type="hidden" name="op" value="CommParamsUpdate">
<input type="hidden" name="ID" value="{intID}">
<input type="hidden" name="Page" value="{Page}">
<input type="hidden" name="isLock" value="{isLock}">
<input type="hidden" name="BallType" value="">
<input type="hidden" name="BetType" value="">
<input type="hidden" name="LID" value="{ShowLID}">
<table width="250" border="0" cellspacing="1" cellpadding="2" bgcolor="#087271">
  <tr> 
    <td bgcolor="#FFFFFF"> 
      <table width="250" border="0" cellspacing="1" cellpadding="0" bgcolor="#087271" class="cstab">
        <tr class="csti"> 
          <td width="240" id="comm_title">&nbsp;</td>
          <td align="right" valign="top"><a style="cursor:hand;" onClick="close_win();"><img src="../../images/control/edit_dot.gif" width="16" height="14" border="0"></a></td>
        </tr>
        <tr class="csti"> 
          <td colspan="2">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr class="ctiga"> 
                <td>{GLine1}</td><td>{GLine2}</td><td>{GLine3}</td>
              </tr>
              <tr class="ctiga"> 
                <td><select name="Comm1"></select></td>
                <td><select name="Comm2"></select></td>
                <td><select name="Comm3"></select></td>
              </tr>
            </table>
          </td>
        </tr>
<!-- @ SumEventLimit Fd2 Start @ //-->
        <tr class="csti"> 
          <td colspan="2">{SumEventLimit}&nbsp;&nbsp; 
            <input type="text" name="SumEventLimit" value="" size="8" maxlength="8" class="zatexted">
          </td>
        </tr>
<!-- @ SumEventLimit Fd2 End @ //-->
        <tr class="csti"> 
          <td colspan="2">{EventLimit}&nbsp;&nbsp; 
            <input type="text" name="EventLimit" value="" size="8" maxlength="8" class="zatexted" onkeyup="CountLimit()">
			<input type="hidden" name="MaxEventLimit" value="">
          </td>
        </tr>
        <tr class="csti"> 
          <td colspan="2">{BetLimit}&nbsp;&nbsp; 
            <input type="text" name="BetLimit" value="" size="8" maxlength="8" class="zatexted" onkeyup="CountBLimit()">
			<input type="hidden" name="MaxBetLimit" value="">
          </td>
        </tr>
        <tr align="center"> 
          <td colspan="2"><input type="button" value="{Edit}" class="zatext" onclick="finalcheck();"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</form>
</div>
<!----------------------退水視窗----------------------------> 
</body>
</html>
